package com.yaorange.exception;
import com.yaorange.response.enums.ResultCode;

/**
 *  参数校验异常
 */
public class ValidateException extends BusinessException {

    public ValidateException() {
        super(ResultCode.VALIDATE_FAILED);
    }

    public ValidateException(String message) {
        super(ResultCode.VALIDATE_FAILED.getCode(), message);
    }
}